home *** CD-ROM | disk | FTP | other *** search
/ PC Elektro 3 / PC-Elektro-3-cd1.bin / KBan 2.0 / KBANSRC.LZH / SRC / PROG / RESOURCE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-10-06  |  4.2 KB  |  207 lines

  1. // a header of the resource
  2. // Copyright (C) 1997 Kazutaka Hirata <khirata@jove.acs.unt.edu>
  3.  
  4. #ifndef _RESOURCE_H_
  5. #define _RESOURCE_H_
  6.  
  7. #define IDR_MAINFRAME        100
  8. #define IDR_TOOLBAR        101
  9. #define IDR_APERTUREBAR        102
  10. #define IDR_CONTEXTMENU        103
  11.  
  12. // File
  13.  
  14. #define ID_FILE_SAVE_BMP    120
  15. #define ID_FILE_SAVE_GBR    121
  16. #define ID_FILE_SAVE_CMP    122
  17. #define ID_FILE_OUTPUT_NETLIST    123
  18.  
  19. // [Edit]
  20.  
  21. #define ID_EDIT_BLOCK        130
  22. #define ID_EDIT_BLOCK_LAYER    131
  23. #define ID_EDIT_DELETE        132
  24. #define ID_EDIT_UNSELECT_ALL    133
  25. #define ID_EDIT_PIN        134
  26. #define ID_EDIT_PULL        135
  27. #define ID_EDIT_DIVIDE        136
  28. #define ID_EDIT_MOVE_LINE    137
  29.  
  30. // [Layer]
  31.  
  32. #define ID_LAYER_PCOMMON    140
  33. #define ID_LAYER_PTOP        141
  34. #define ID_LAYER_PBOTTOM    142
  35. #define ID_LAYER_STOP        143
  36. #define ID_LAYER_SBOTTOM    144
  37. #define ID_LAYER_SHOW_PCOMMON    145
  38. #define ID_LAYER_SHOW_PTOP    146
  39. #define ID_LAYER_SHOW_PBOTTOM    147
  40. #define ID_LAYER_SHOW_STOP    148
  41. #define ID_LAYER_SHOW_SBOTTOM    149
  42.  
  43. // [View]
  44.  
  45. #define ID_VIEW_APERTUREBAR    150
  46. #define ID_VIEW_ZOOMIN        151
  47. #define ID_VIEW_ZOOMOUT        152
  48. #define ID_VIEW_ALL        153
  49. #define ID_VIEW_WINDOW        154
  50. #define ID_VIEW_REDRAW        155
  51.  
  52. // [Setup]
  53.  
  54. #define ID_SETUP_SNAP        160
  55. #define ID_SETUP_PIN_ON_COMMON    161
  56. #define ID_SETUP_FILL        162
  57. #define ID_SETUP_HOLE        163
  58.  
  59. #define ID_SETUP_GRID_RESET    164
  60. #define ID_SETUP_GRID_ORIGIN    165
  61. #define ID_SETUP_GRID_WIDTH    166
  62. #define ID_SETUP_GRID_10_1    167
  63. #define ID_SETUP_GRID_10_2    168
  64. #define ID_SETUP_GRID_10_5    169
  65. #define ID_SETUP_GRID_10_A    170
  66. #define ID_SETUP_GRID_17_1    171
  67. #define ID_SETUP_GRID_17_2    172
  68. #define ID_SETUP_GRID_25_1    173
  69. #define ID_SETUP_GRID_25_2    174
  70. #define ID_SETUP_GRID_25_4    175
  71. #define ID_SETUP_GRID_25_5    176
  72. #define ID_SETUP_GRID_25_A    177
  73.  
  74. #define ID_SETUP_APT_PIN    178
  75. #define ID_SETUP_APT_LINE    179
  76.  
  77. // [Tools]
  78.  
  79. #define ID_TOOLS_PURGE        180
  80.  
  81. // [Place]
  82.  
  83. #define ID_PLACE_PIN        190
  84. #define ID_PLACE_LINE        191
  85. #define ID_PLACE_COMPONENT    192
  86.  
  87. // [Delete]
  88.  
  89. #define ID_DELETE_PIN        200
  90. #define ID_DELETE_LINE        201
  91. #define ID_DELETE_COMPONENT    202
  92.  
  93. // [Help]
  94.  
  95. #define ID_HELP_DEBUG        210
  96. #define ID_HELP_ISEMPTY        211
  97.  
  98. // Context Menu
  99.  
  100. #define ID_CTXT_EDIT_PIN           220
  101. #define ID_CTXT_EDIT_LINE          221
  102. #define ID_CTXT_EDIT_COMPONENT     222
  103. #define ID_CTXT_SELECT_PIN         223
  104. #define ID_CTXT_SELECT_LINE        224
  105. #define ID_CTXT_SELECT_COMPONENT   225
  106. #define ID_CTXT_UNSELECT_PIN       226
  107. #define ID_CTXT_UNSELECT_LINE      227
  108. #define ID_CTXT_UNSELECT_COMPONENT 228
  109.  
  110. //
  111. // the status bar
  112. //
  113.  
  114. #define ID_INDICATOR_X        301
  115. #define ID_INDICATOR_Y        302
  116. #define ID_INDICATOR_LAYER    303
  117. #define ID_INDICATOR_ZOOM    304
  118. #define ID_INDICATOR_GRID    305
  119. #define ID_INDICATOR_COMMAND    306
  120.  
  121. //
  122. // the dialog boxes
  123. //
  124.  
  125. #define IDD_APTCHG_PIN        400
  126. #define IDD_APTCHG_LINE        401
  127. #define IDD_BMPOUT        402
  128. #define IDD_PLACE_COMPONENT    403
  129. #define IDD_EDIT_PIN        404
  130. #define IDD_GRIDSETTING        405
  131. #define IDD_GRID_ORIGIN        406
  132.  
  133. //
  134. // the pin/line aperture dialog boxes
  135. //
  136.  
  137. #define IDC_ROUND        500
  138. #define IDC_SQUARE        501
  139. #define IDC_OBLONG        502
  140. #define IDC_RECTANGLE        503
  141.  
  142. #define IDC_WIDTH        505
  143. #define IDC_HEIGHT        506
  144. #define IDC_DRILL        507
  145. #define IDC_EXISTING        508
  146. #define IDC_PURGE        509
  147.  
  148. //
  149. // the [Save As Bitmap] dialog box
  150. //
  151.  
  152. #define IDC_FNAME        510
  153. #define IDC_BROWSE        511
  154. #define IDC_PCOMMON        512
  155. #define IDC_PTOP        513
  156. #define IDC_PBOTTOM        514
  157. #define IDC_STOP        515
  158. #define IDC_SBOTTOM        516
  159. #define IDC_FILL        517
  160. #define IDC_HOLE        518
  161. #define IDC_DPI            519
  162. #define IDC_LDRILL_FLAG        520
  163. #define IDC_LDRILL_SIZE        521
  164.  
  165. //
  166. // the [Place]->[Component] dialog box
  167. //
  168.  
  169. #define IDC_COMP_NAME        530
  170. #define IDC_COMP_DESIGNATOR    531
  171. #define IDC_COMP_BROWSE        532
  172.  
  173. //
  174. // the [Edit]->[Pin Number] dialog box
  175. //
  176.  
  177. #define IDC_PIN_NUMBER        540
  178.  
  179. #define IDC_LAYERS        550
  180.  
  181. //
  182. // the grid width dialog box
  183. //
  184.  
  185. #define IDC_GRID_WIDTH        560
  186. #define IDC_GRID_1        561
  187. #define IDC_GRID_2        562
  188. #define IDC_GRID_4        563
  189. #define IDC_GRID_5        564
  190. #define IDC_GRID_8        565
  191. #define IDC_GRID_10        566
  192.  
  193. //
  194. // the grid origin dialog box
  195. //
  196.  
  197. #define IDC_ORIGIN_X        570
  198. #define IDC_ORIGIN_Y        571
  199.  
  200. //
  201. // the edit pin dialog box
  202. //
  203.  
  204. #define IDC_APERTURE_PIN    580
  205.  
  206. #endif /* _RESOURCE_H_ */
  207.